<?php
namespace haibao\cms\model\filter;

class SphinxDb extends \haibao\cms\model\filter\Base{
	public function __construct(){
		parent::__construct('\haibao\cms\model\data\SphinxDb');
	}

	const CONDITION_FIELD_TITLE = 'Title';
	const CONDITION_FIELD_CONTENT = 'Content';
	const CONDITION_FIELD_KEYWORD = 'Keyword';
	const CONDITION_FIELD_TAG = 'Tag';
	const CONDITION_FIELD_INDEX_TIME = 'IndexTime';
	const CONDITION_FIELD_SHOW_TIME = 'ShowTime';
	const CONDITION_FIELD_STATUS = 'Status';
	const CONDITION_FIELD_TYPE = 'Type';
	const CONDITION_FIELD_LEVEL = 'Level';
	const CONDITION_FIELD_KEYWORDS = 'Keywords';
	const CONDITION_FIELD_PUBLISH_STATUS = 'PublishStatus';
	const CONDITION_FIELD_RECORD_ID = 'RecordId';
	const CONDITION_FIELD_PRIMARY_TAG_ID = 'PrimaryTagId';
	const CONDITION_FIELD_PRIMARY_TAG_PARENT_ID = 'PrimaryTagParentId';
	const CONDITION_FIELD_TAG_IDS = 'TagIds';
	//权重，设置排序时用
	const CONDITION_FIELD_WEIGHT = 'Weight';
	const CONDITION_FIELD_IS_PC_SEARCH = 'IsPcSearch';
	const CONDITION_FIELD_WEIGHT_TIME = 'WeightTime';
	const CONDITION_FIELD_TITLE_TAG = 'TitleTag';
	
	const CONDITION_FIELD_KEYWORDS_FULL = 'KeywordsFull';
}
